package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.DoctorAdvice;
import com.zhijian.medical.entity.vo.request.DoctorAdviceSearchVo;
import com.zhijian.medical.entity.vo.response.DoctorAdviceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorAdviceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DoctorAdvice record);

    int insertSelective(DoctorAdvice record);

    DoctorAdvice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DoctorAdvice record);

    int updateByPrimaryKey(DoctorAdvice record);

    int count(DoctorAdviceSearchVo doctorAdviceSearchVo);

    List<DoctorAdviceVo> selectList(DoctorAdviceSearchVo doctorAdviceSearchVo);

    DoctorAdviceVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<DoctorAdvice> entities);
}